package com.egor.services;

import com.egor.data.entity.Employee;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface EmployeeService {
    List<Employee> listAll(Pageable pageable);
    void save(Employee employee);
    void delete(Employee employee);
    List<Employee> findAll(String text, Pageable pageable);
}
